package com.lap.auth.application.msg.dto;

import java.io.Serial;
import com.lap.framework.entity.AbstractAudit;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@Schema(description = "消息模版数据传输")
public class MsgTemplateDto extends AbstractAudit {
  @Serial
  private static final long serialVersionUID = -2158540901757225326L;

  @Schema(description = "主键")
  private Integer id;

  @Schema(description = "模板类型,使用数字字典")
  private Integer module;

  @Schema(description = "模版编码,不能修改")
  private String code;

  @Schema(description = "模版名称")
  private String name;

  @Schema(description = "模版主题")
  private String title;

  @Schema(description = "模版内容")
  private String content;
}
